package com.kita.broker.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kita.common.utils.PageUtils;
import com.kita.common.utils.Query;

import com.kita.broker.dao.BrokerRoomBrokerHomeDao;
import com.kita.broker.entity.BrokerRoomBrokerHomeEntity;
import com.kita.broker.service.BrokerRoomBrokerHomeService;


@Service("brokerRoomBrokerHomeService")
public class BrokerRoomBrokerHomeServiceImpl extends ServiceImpl<BrokerRoomBrokerHomeDao, BrokerRoomBrokerHomeEntity> implements BrokerRoomBrokerHomeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BrokerRoomBrokerHomeEntity> page = this.page(
                new Query<BrokerRoomBrokerHomeEntity>().getPage(params),
                new QueryWrapper<BrokerRoomBrokerHomeEntity>()
        );

        return new PageUtils(page);
    }

}